package com.spring.nio.business.user.constant;

/**
 * @author: YSFY
 * @date: 2021-03-24 18:38
 * @pacage_name: com.spring.nio.business.user.constant
 * @class_name: UserStatusEnum
 * @description: 用户状态
 */
public enum UserStatusEnum {
    REGISTERED("REGISTERED", "已注册"),
    ONLINE("ONLINE", "在线"),
    OFFLINE("OFFLINE", "离线");

    private String status;

    private String description;

    UserStatusEnum(String status, String description) {
        this.status = status;
        this.description = description;
    }

    public String getStatus() {
        return status;
    }

    public String getDescription() {
        return description;
    }
}
